<div class="navbar-inverse navbar-static-top">
    <div class="container" >
        <div class="nav-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
            <a class="navbar-brand" href="{% url 'index' %}">首页</a>
        </div>
        <div class="collapse navbar-collapse" id="menu">
            <ul class="nav navbar-nav">
{#                 <li><a href="/image">图片</a></li>#}
{#                 <li><a href="/course">课表</a></li>#}
{#                 <li><a href="/gupiao">股票</a></li>#}
{#                 <li><a href="/hr">查询</a></li>#}
                 <li><a href="/download/app">下载</a></li>
                 <li><a href="/topnews">头条</a></li>
{#                 <li><a href="/mail">邮件</a></li>#}
{#                 <li><a href="/neihan">段子</a></li>#}
{#                 <li><a href="/data">数据</a></li>#}
                 <li><a href="/sys">管理</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li id="weclome1"><a data-toggle="modal" href="/login">登录</a></li>
                <li id="weclome2"><a data-toggle="modal" href="/register">注册</a></li>
                <li class="dropdown" id="status1">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b id="user"></b><span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="/info">个人信息</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="/headimg">修改头像</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="/loginout">退出</a></li>
                        </ul>
                </li>
                <li id="status2"><img src="" id="headimg" class="img-circle" style="width: 40px;padding-top: 5px" ></li>
              </ul>
        </div>
    </div>
</div>